module.exports = app => {
    const mongoose = app.mongoose;
    const Schema = mongoose.Schema;
    const UserSchema = new Schema({
        user_name: String,
        user_id: String,
        user_pwd: String,
        sign: String,
        avatar: {
          type: String,
          default: ''
        },
        token: {
          type: String,
          default: ''
        }
    })
    return mongoose.model('User', UserSchema)
}
